<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table align="center">
<tr>
	<td colspan="10" align="center"> 상품 주문 </td>
</tr>
	<tr style="background-color: #eeeeee" align="center">
		<th>주문 NO.						</th>
		<th>주문일						</th>
		<th>가맹점 코드번호				</th>
		<th>가맹점 명						</th>
		<th>상품구분						</th>
		<th>상품코드						</th>
		<th>상품명						</th>
		<th>매입가						</th>
		<th>판매가						</th>		
	</tr>	
	<c:forEach items="${orderList}" var="order">
	<tr>
		<td>${order.order_num}			</td>
 		<td>${order.order_date}			</td>
  		<td>${order.member_code}		</td>
		<td>${order.member_name}		</td>
		<td>${order.product_category}	</td>
		<td>${order.product_code}		</td>
		<td>${order.product_name}		</td>
		<td>${order.product_buy}		</td>
		<td>${order.product_sell}		</td>   
	</tr>	
</c:forEach>
</table>

</body>
</html>